/**
 * Created by LXH on 2017/10/31.
 */
import axios from './axios.js'
import qs from 'qs'
import store from'../vuex/'
import {tl} from'../mixin/tool'
import {utility} from '../assets/js/utility/utility'

export const authorService = {
    /* 获取分类列表 */
    authorList: function (params) {
        return axios.get('/allAdminUser'+tl.getParam(params))
    },
    subList: function (params) {
        return axios.get('/myFollow'+tl.getParam(params))
    },
    /* 获取列表 */
    myFollowMain: function (params) {
        return axios.get('/myFollowMain/'+tl.getParam(params))
    },
    /* 关注 */
    isFollow: function (params) {
        return axios.get('/isFollow/'+tl.getParam(params))
    },
    /* 获取文章列表 */
    articleList: function (params) {
        return axios.get('/articles'+tl.getParam(params))
    },
    getactivities: function (params) {
        return axios.get('/activities/'+tl.getParam(params))
    },
}
// export default {loginService}
